<html>

<script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
  <head>

  </head>
  <body>
    <div id="app">
      
    </div>
  </body>
  <script>

const vm = new Vue({
  render(h) {
    return h('div',
      {
        style: {
            background: 'red',
        },
        on:{
          click:this.compClick
        }
      },  
      'aaaaaaaaaaaaaaa'
    )
  },
  methods: {
    compClick(e) {
      console.log(111111111111)
    }
  },
  renderError (h, err) {
    return h('pre', { style: { color: 'red' }}, err.stack)
  }
}).$mount('#app')

const dom = vm.$createElement('div',
      {
        style: {
            background: 'red',
        },
        on:{
          click:this.compClick
        }
      },  
      'aaaaaaaaaaaaaaa'
    )

    console.log(dom)

console.log(vm)



  </script>
</html>